<template>
    <div>
        <div>如吞食天地无法选择人物请等待1-2小时候重试</div>
        <div><a-button type="link" :loading="loading" @click="clickReset">点击这里重新刷新数据</a-button> 或联系卖家反馈给作者</div>
    </div>
</template>


<script setup>
import {ref} from 'vue'
import request from '../utils';
import { message } from 'ant-design-vue'
const loading = ref(false)
const clickReset = () => {
    loading.value = true
    request({url: "/api/getGameData"}).then((res) => {
        loading.value = false
        message.success("获取成功")
    })
}

</script>